DevForce Help Reference
ListVerifierArgs Constructor(Type,String,Boolean,String,IEnumerable,Nullable<Boolean>)


Type of object being verified
The property on the specified type to be verified
Whether the property name is required or may be left null
A display name for the specified property
System.Collections.IEnumerable containing the list of valid entries.
Initializes a new instance of the ListVerifierArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal displayName As String, _
   ByVal list As IEnumerable, _
   Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _
)
'Usage
 
Dim type As Type
Dim propertyName As String
Dim isRequired As Boolean
Dim displayName As String
Dim list As IEnumerable
Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean)
 
Dim instance As New ListVerifierArgs(type, propertyName, isRequired, displayName, list, shouldTreatEmptyStringAsNull)

Parameters

type
Type of object being verified
propertyName
The property on the specified type to be verified
isRequired
Whether the property name is required or may be left null
displayName
A display name for the specified property
list
System.Collections.IEnumerable containing the list of valid entries.
shouldTreatEmptyStringAsNull
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListVerifierArgs Class
ListVerifierArgs Members
Overload List

Send Feedback